<template name="cancel_cc_modal">
	<div class="modal fade cancel_cc_modal" role="dialog">
		<div class="modal-dialog modal-lg" role="document">
			<div class="modal-content flow-modal">
				<div class="modal-header">
					<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
					<h4 class="modal-title">{{_ "instance_approve_cc_remove"}}</h4>
				</div>

				<div class="modal-body">
					{{#each traces}}
						<table class="table" >
							<thead class="table-header">
								<th class="th-width" ><input type="checkbox" id="{{this._id}}" class="cancel_cc_modal_all_approve_toggle"></th>
								<th colspan='3'>{{this.name}}</th>
							</thead>
							<tbody>
								{{#each this.cc_approves}}
									<tr>
										<td><input type="checkbox" id="{{this._id}}" name="{{../_id}}" class="for-cancel-checkbox"></td>
										<td class="handler-name" data-approveid="{{this._id}}">{{handler_name}}</td>
										<td>{{dateFormat this.start_date}}</td>
									</tr>
								{{/each}}
							</tbody>
						</table>
					{{/each}}
				</div>
				<div class="modal-footer">
					<button type="button" class="btn btn-primary" >{{_ "OK"}}</button>
					<button type="button" class="btn btn-default btn-data-dismiss" data-dismiss="modal">{{_ "Cancel"}}</button>
				</div>
			</div>
		</div>
	</div>
</template>